package com.navinfo.opentsp.platform.computing.analysis.entity;

import org.apache.kafka.common.config.AbstractConfig;
import org.apache.kafka.common.config.ConfigDef;

import java.util.Map;

public class CountEntitySerializerConfig extends AbstractConfig {

    public static final String JSON_INDENT_OUTPUT = "json.indent.output";
    public static final boolean JSON_INDENT_OUTPUT_DEFAULT = false;
    public static final String JSON_INDENT_OUTPUT_DOC =
            "Whether JSON output should be indented (\"pretty-printed\")";

    private static ConfigDef config;

    static {
        config = new ConfigDef()
                .define(JSON_INDENT_OUTPUT, ConfigDef.Type.BOOLEAN, JSON_INDENT_OUTPUT_DEFAULT,
                        ConfigDef.Importance.LOW, JSON_INDENT_OUTPUT_DOC);
    }

    public CountEntitySerializerConfig(Map<?, ?> props) {
        super(config, props);
    }

}
